Skip to content

runtime: name all four components builder params in CoreRuntime - #532

Merged
mfw78 merged 1 commit into
dev/m1from
fix/508-core-runtime-components-params
Jul 23, 2026
Merged

runtime: name all four components builder params in CoreRuntime#532
mfw78 merged 1 commit into
dev/m1from
fix/508-core-runtime-components-params

Conversation

@mfw78

@mfw78 mfw78 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

What

Name all four builder type params explicitly in CoreRuntime::components (crates/nexum-runtime/src/preset.rs), widening the return type from ComponentsBuilder<ProviderPoolBuilder, LocalStoreBuilder, ()> to ComponentsBuilder<ProviderPoolBuilder, LocalStoreBuilder, (), LogPipelineBuilder>.

Why

The prior signature leaned on the L = LogPipelineBuilder default for the logs builder param. Spelling out the LogsBuilder param makes the return type match the Runtime trait's declared associated type exactly rather than relying on a defaulted param. No behaviour change: the body is unchanged and still constructs ComponentsBuilder::new(ProviderPoolBuilder, LocalStoreBuilder, ()). LogPipelineBuilder was already imported.

Testing

cargo fmt --all -- --check is clean (rustfmt spreads the signature across three lines). cargo clippy -p nexum-runtime --all-targets --all-features after cargo clean -p nexum-runtime.

AI Assistance

Implemented, reviewed and verified with Claude Code (Opus).

Closes #508

@mfw78
mfw78 force-pushed the fix/508-core-runtime-components-params branch from b56694b to 9db82b2 Compare July 23, 2026 14:15
@mfw78
mfw78 changed the base branch from feat/m5-pre-carve-runbook to dev/m1 July 23, 2026 14:15
@mfw78
mfw78 merged commit 0014460 into dev/m1 Jul 23, 2026
@mfw78
mfw78 deleted the fix/508-core-runtime-components-params branch July 23, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant